package my.study.common.util;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

@Setter
@Getter
@Accessors(chain = true)
@ApiModel(description = "带统计的分页结果数据")
public class StatisticPageResult<T, S> extends PageResult<T> {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("统计信息")
    private S statistic;

    public StatisticPageResult(){
    }
    public StatisticPageResult(long page, long size){
        super(page, size);
    }

}